-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Card: migrate to TypeScript #42941
Card: migrate to TypeScript #42941
Conversation
Size Change: 0 B Total Size: 1.24 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @torounit , thank you for working on this!
On top of the inline comments, here's some additional feedback:
- Should we add a wrapper around the
Card
in the Storybook example? - Currently, Storybook is not showing controls and documentation for the subcomponents — how can we fix that ? (cc @mirka )
- Can we also refactor the unit tests to TypeScript?
Thank you!
Hmm, the subcomponents are showing for me. Maybe yours needed a cold restart? CleanShot.2022-08-09.at.21.47.37.mp4(Subcomponents don't support controls, btw, so only the docs will show) |
Ah! It took me a while to find them! Kapture.2022-08-10.at.16.48.28.mp4
That's unfortunate. Hopefully support will be added soon |
50293d1
to
453dfd0
Compare
Sorry for the late reply, thanks for the review.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're almost there! Just left a couple of minor comments.
Thank you for your patience!
This PR may need a rebase to pass CI tests |
Ah, and a CHANGELOG entry (the "internal" section is ok) |
Co-authored-by: Marco Ciampini <[email protected]>
4178bf0
to
63b8b06
Compare
What?
Part of #35744
Converts the
Card
component to TypeScript.Testing Instructions
npm run storybook:dev
Card